<h2>Users List</h2>
<div class="<%= dom_class(@user) %>" id="userslist">
	<table class="box" cellspacing="0">
		<thead>
			<tr>
				<th class="name_col"><%=_ 'Name' %></th>
				<th class="mail_col"><%=_ 'E-Mail' %></th>
				<th class='count_col'><%=_ 'Topics' %></th>
				<th class="count_col"><%=_ 'Posts' %></th>
			</tr>
		</thead>
		<tbody>
			<% for user in @users %>
			<tr>
				<td class="name_col"><%= link_to h(user.login), user_path(user) %></td>
				<td class="mail_col"><%= user.email %></td>
				<td class="count_col"><%= link_to user.topics_count, topics_user_path(user) %></td>
				<td class="count_col"><%= link_to user.posts_count, posts_user_path(user) %></td>
			</tr>
			<% end %>
		</tbody>
	</table>
</div>